810 COLOR 0,7:LOCATE ,46:PRINT USING U$;CMID;:COLOR 7,0:PRINT " pF(";P$;"%)";
820 LOCATE ,64:PRINT USING U$;CMAX;:PRINT " pF(100%)";
830 FMAX=SQR(JJ/CMIN/L)
840 FMID=SQR(JJ/CMID/L)
850 FMIN=SQR(JJ/CMAX/L)
860 PRINT " Resonant frequency is....";
870 LOCATE ,28:PRINT USING U$;FMAX;:PRINT " MHz";
880 COLOR 0,7:LOCATE ,46:PRINT USING U$;FMID;:COLOR 7,0:PRINT " MHz";
890 LOCATE ,64:PRINT USING U$;FMIN;:PRINT " MHz";
900 X1=2*PI*FMAX*L
910 X2=2*PI*FMID*L
920 X3=2*PI*FMIN*L
930 PRINT " Reactances XC & XL are...";
940 LOCATE ,28:PRINT USING U$;X1;:PRINT " ohms";
950 COLOR 0,7:LOCATE ,46:PRINT USING U$;X2;:COLOR 7,0:PRINT " ohms";
960 LOCATE ,64:PRINT USING U$;X3;:PRINT " ohms"
970 PRINT UL$;
980 PRINT " Adjust C1 for resonance; adjust tap";
990 PRINT " on L1 for minimum SWR; re-adjust C1."
1000 PRINT " The height for the horizontal portion should be slightly greater ";
1010 PRINT "than B.";
1020 GOSUB 1260
1030 COLOR 0,7:LOCATE 25,13
1040 PRINT " Do you want to try other values for L1 and C1? (y/n) ";
1050 COLOR 7,0
1060 Z$=INKEY$:IF Z$=""THEN 1060
1070 IF Z$="n"THEN 160
1080 IF Z$="y"THEN VIEW PRINT 17 TO 24:CLS:VIEW PRINT:LOCATE 17:GOTO 420
1090 GOTO 1060
1100 '
1110 '.....diagram
1120 T=12:COLOR 0,7
1130 LOCATE ,T:PRINT " VARPTRSOUNDSOUNDSOUNDSOUNDSOUNDSOUNDSOUNDSOUNDSOUNDSOUNDSOUND A SOUNDSOUNDSOUNDSOUNDSOUNDSOUNDSOUNDSOUNDSOUNDSOUNDSOUNDBSAVESOUNDSOUNDSOUNDSOUNDSOUNDSOUNDSOUNDSOUNDSOUNDSOUNDSOUND A SOUNDSOUNDSOUNDSOUNDSOUNDSOUNDSOUNDSOUNDSOUNDSOUNDSOUNDCOLOR "